package io.github.lee.plugin.depend.impl

import io.github.lee.plugin.depend.Versions
import io.github.lee.plugin.depend.handler.IHandlerDepend
import io.github.lee.plugin.depend.handler.implementation
import io.github.lee.plugin.depend.handler.kapt
import org.gradle.api.artifacts.dsl.DependencyHandler

object Hilt : IHandlerDepend {
    private const val hiltAndroid = "com.google.dagger:hilt-android:${Versions.hilt}"
    private const val hiltAndroidCompiler = "com.google.dagger:hilt-android-compiler:${Versions.hilt}"


    override fun handler(handler: DependencyHandler) {
        handler.implementation(hiltAndroid)
        handler.kapt(hiltAndroidCompiler)

    }

}